<?php
class LGSearchWidget extends CWidget {

    public $maxLength = 100;
    public $actionUrl = null;
    public function init() {
	parent::init();

	if (!isset($this->actionUrl)) {
	    $this->actionUrl = url('home/search');
	}
    }

    public function run() {
	parent::run();
	$this->renderSearch();
    }

    /**
     * 
     * @param SlideItem $slideItem
     */
    public function renderSearch() {
	return $this->render('_searchForm');
    }
}

?>
